package com.example.util;

public class Logger {
    /**
     * 信息输出
     */
    public static void o(Object s){
        System.out.println(s);
    }

    public static void fo(Object s){
        System.out.println(ReflectionUtil.getCallMethod()+":"+s);
    }

    synchronized public static void info(Object s){
        String content = null;
        if(null != s){
            content = s.toString().trim();
        }else{
            content = "";
        }
        String cft = "["+Thread.currentThread().getName()+"|"+ReflectionUtil.getNakCallMethod()+"]";
        String out = String.format("%20s |> %s",cft,content);
        System.out.println(out);
    }
}
